package com.xzuf.core.ui;

import java.awt.Dimension;

import javax.swing.ImageIcon;
import javax.swing.JButton;

/**
 * @author xzgf
 * @since 2008-7-12
 * @version 1.0
 */
public class SmallButton extends JButton {

	public SmallButton(String name) {
		super(name);
	}
	
	public SmallButton(String name ,ImageIcon icon) {
		super(name,icon);
	}
	
	@Override
	public Dimension getPreferredSize() {
		return new Dimension(16,16);
	}
}
